import React, {useContext} from 'react'
import {MyContext} from './AFn'

export default function CFn() {
  return (
    <div>
      <p>孙组件</p>
      <p>{useContext(MyContext)}</p>
    </div>
  )
}
